package com.peas.platform.module.icims.base.approve.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.ApproveOrderOperRepository;
import com.peas.platform.module.icims.base.approve.adapter.repository.po.ApproveOrderOperPo;
import com.peas.platform.module.icims.base.approve.domain.ApproveOrderOperDomain;
import com.peas.platform.module.icims.base.approve.dto.ApproveOrderOperDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ApproveOrderOperDomainImpl extends BaseDomainImpl<ApproveOrderOperDto, ApproveOrderOperPo> implements ApproveOrderOperDomain {

    @Resource
    private ApproveOrderOperRepository approveOrderOperRepository;

    @Override
    public BaseRepository<ApproveOrderOperPo> getMapper() {
        return approveOrderOperRepository;
    }

    @Override
    public Class<? extends BaseRepository<ApproveOrderOperPo>> getRepositoryClass() {
        return ApproveOrderOperRepository.class;
    }

}
